#!/bin/bash

VSOMEIP_LIB_PATH=${pwd}../third-party/out/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${VSOMEIP_LIB_PATH}

# echo "param:$1"
# exit 1
if [ "$#" -gt 0 ] && [ "$1" == "client" ]; then
    ./build/client-example
else
    ./build/service-example
fi